<%@page import="dao.UsersDao"%>
<%@page import="daoImpl.UserDaoImpl"%>
<%@page import="entlty.Users"%>
<%@page import="entlty.Goods"%>
<%@page import="entlty.ErjiVo"%>
<%@page import="entlty.Erji"%>
<%@page import="java.util.List"%>
<%@page import="daoImpl.ErjiDaoImpl"%>
<%@page import="dao.ErjiDao"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>醉品茶城-茶叶、茶具一站式网上购物商城:铁观音,金骏眉,红茶,绿茶,大红袍,普洱茶,茶具</title>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

</head>
	<link rel="shortcut icon" href="img/首页/icon.ico" />
	<link rel="stylesheet" type="text/css" href="css/首页.css"/>
<script type="text/javascript" src="js/jquery-1.12.4.js"></script>
				
								
<body>
<div class="yetou">
		<iframe src="Dengluhou.jsp" width="1530px" height="220" scrolling="no" frameborder="0"></iframe>

		</div>
		<div class="div">
			<div class="zong">
				<div class="zhu">
					<div class="zhu1">
						<img src="img/首页/P_01.jpg" />
					</div>
					<div class="zhu2">
						<div class="tu">
						<c:forEach items="${ lunbotu}" var="lun">
							
							<img src="${lun.l_pic }" name="ss">
						
						
						</c:forEach>
						
						</div>
					</div>
					<div class="zhu3">
						<img src="img/首页/P_02.jpg" />
					</div>
				</div>
				<div class="shangpin">
					<div class="a">
						<dl>
							<dt>一件选茶</dt>
							<dd>
								<a href="">自饮助手</a>
								<a href="">自饮锦囊</a>
							</dd><br />
							<dd>
								<a href="">送礼助手</a>
								<a href="">送礼锦囊</a>
							</dd>
						</dl>
					</div>

					<div class="b">
					<c:forEach items="${erji }" var="j">
					<dl>
					<dt>${j.e_name }</dt>
						<c:forEach items="${list }" var="es">
						<c:if test="${es.e_id==j.x_sid }">
						<div>
						<c:forEach items="${list }" var="t">
						<c:if test="${j.x_sid==t.e_id }">
							<dl>													
								<dt><img src="${t.pic }" width="40px"></dt>
								<dt style="color:black;line-height: 70px">${t.gname }</dt>
								
							</dl>
							</c:if>
							</c:forEach>
						</div>
						</c:if>
					</c:forEach>
					</dl>
					</c:forEach>
					
					</div>
					
					 <div class="zhu4">
					<img src="img/首页/P_03.jpg" width="1227px" />
					<div class="zhu5">
						<img src="img/首页/20190606drink.jpg" />
						<img src="img/首页/20190606gift.jpg" />
						<img src="img/首页/20190606m2o.jpg" />
						<img src="img/20190606ppg.jpg" />
					</div>
					</div>
					
				</div>	
				
				
				
					<div class="neirong">
				<div class="nei1">
					<c:forEach items="${louceng }" var="lou">
				<c:if test="${lou.l_id==1 }">
					<p>${lou.l_name }</p>
							<div class="zi1">
						<img src="img/首页/自饮-ZONGY0456-250.jpg"/>
						
						<div>
								<h2>自饮助手</h2>
							<p class="p1">自己喝的茶</p>
							<p class="p2">包装不用太复杂</p>
						</div>				
					</div>
						<c:forEach items="${ sp }" var="s">
					<div class="zi2">
				<c:if test="${ s.l_id==1 }">
			
					<a href="Xinagxixx?id=${s.s_id }">
						<dl>
							<dt><img src="${s.s_pic }"/></dt>
							<dd>
								<span class="hei">${s.sname } <br />
								</span><br />
								<span class="huise">${s.jieshao }</span><br />
								<span class="hong">￥${s.prices }</span>
							</dd>
						</dl>
						</a>
				</c:if>
				</div>
				
				</c:forEach>
				</c:if>
				</c:forEach>
			
					
				<div class="zi3">
						<div class="zis">
							<p class="bt">自饮锦囊</p>
							<dl>
								<dt>世界杯冠军——爱喝茶的法国人</dt>
								<dd>
									<img src="img/首页/2000.png"/>
									<span>今天凌晨，法国人在莫斯科高高举起大力神杯。时隔20年，法国再次问鼎</span>
								</dd>
							</dl>
							<dl>
								<dt>茶不是药神，却可以让你少吃药</dt>
								<dd>
									<img src="img/首页/2001.jpg"/>
									<span>其中有一个真实又让人心痛的镜头，生病的老奶奶抓住警官的手问他：“我</span>
								</dd>
							</dl>
							<dl>
								<dt>喝茶，从茶杯开始</dt>
								<dd>
									<img src="img/首页/2002.png"/>
									<span>一只茶杯，是品茶人引动清、香、甘、活的梦幻逸品。茶杯，是香、甘</span>
								</dd>
							</dl>
							<dl>
								<dt>香云山，民国风情怀的岭南茶</dt>
								<dd>
									<img src="img/首页/2003.jpg"/>
									<span>在广东潮州，不管是街边巷尾还是厅堂楼阁，随处可见一个圆形陶瓷茶盘。</span>
								</dd>
							</dl>
						</div>
						<div class="jn">
							<h2>浏览更多</h2>
							<p class="p1">想要喝茶，不知如何选</p>
							<p class="p2">这里有一只锦囊！</p>
						</div>
					</div>
					

					</div>
					
					
					
							<div class="nei1">
					<c:forEach items="${louceng }" var="lou">
				<c:if test="${lou.l_id==2 }">
					<p>${lou.l_name }</p>
						<div class="zi1">
						<img src="img/首页/送礼-6931246238012.jpg"/>
						<div>
							<h2>送礼助手</h2>
							<p class="p1">为您用心推荐每一份礼物</p>
						</div>
					</div>
								<c:forEach items="${ sp }" var="s">
					<div class="zi2">
				<c:if test="${ s.l_id==2 }">
			
					<a href="Xinagxixx?id=${s.s_id }">
						<dl>
							<dt><img src="${s.s_pic }"/></dt>
							<dd>
								<span class="hei">${s.sname } <br />
								</span><br />
								<span class="huise">${s.jieshao }</span><br />
								<span class="hong">￥${s.prices }</span>
							</dd>
						</dl>
					
				</a>
				
				</c:if>
				</div>
				
				</c:forEach>
				</c:if>
				</c:forEach>
	
					
			<div class="zi4">
						<div class="zis">
							<p class="bt">送礼锦囊</p>
							<dl>
								<dt>醉品茶城年终狂欢盛典</dt>
								<dd>
									<img src="img/首页/2004.jpg"/>
									<span>2019年1月3日，醉品茶城开启了为期一个月的春节年货场活动，以爱之茗</span>
								</dd>
							</dl>
							<dl>
								<dt>中秋新品发布|叶界·龙腾四海</dt>
								<dd>
									<img src="img/首页/2005.jpg"/>
									<span>叶界·龙腾四海正山小种+建盏国礼组合醉品x双大师联名限定8.1中秋新品</span>
								</dd>
							</dl>
							<dl>
								<dt>喝白茶好处竟然这么多？</dt>
								<dd>
									<img src="img/首页/2006.jpg"/>
									<span>夏天经常喝白茶的人，很少中暑。专家认为，这是因为白茶中含有多种氨</span>
								</dd>
							</dl>
							<dl>
								<dt>沿袭魏家300年制茶技艺之作</dt>
								<dd>
									<img src="img/首页/2007.jpg"/>
									<span>一说起茶叶收藏，很多茶友最先想到的不是普洱茶，就是白茶。事实上，</span>
								</dd>
							</dl>
						</div>
						<div class="jn">
							<h2>浏览更多</h2>
							<p class="p1">不懂如何送礼让你头疼</p>
							<p class="p2">这里有一只锦囊！</p>
						</div>
					</div>
					
					
					
					
					
					
					
					</div>
					<div class="nei2">
					<c:forEach items="${louceng }" var="lou">
				<c:if test="${lou.l_id==3 }">
					<p>${lou.l_name }</p>
					<div class="cha">
						<img src="img/首页/茶器-8699453.jpg"/><br />
						<img src="img/首页/茶器.jpg"/>
					</div>
									<c:forEach items="${ sp }" var="s">
					<div class="zi2">
				<c:if test="${ s.l_id==3 }">
			
					<a href="Xinagxixx?id=${s.s_id }">
						<dl>
							<dt><img src="${s.s_pic }"/></dt>
							<dd>
								<span class="hei">${s.sname } <br />
								</span>
								<span class="huise">${s.jieshao }</span><br />
								<span class="hong">￥${s.prices }</span>
							</dd>
						</dl>
					
				</a>
				
				</c:if>
				</div>
				
				</c:forEach>
				</c:if>
				</c:forEach>
					
			
					
				
						</div>
					<div id="w">
					<div class="c2">
						<dl>
							<dt>紫砂壶 工艺美术大师金奖杨水定之作 扁平壶 135ml 手工壶</dt>
							<dd><img src="img/首页/2017-11-16-15-42-12-5a0d41547738070048.jpg" width="80px" height="80px"/></dd>
						</dl>
						<span>￥430.00</span>
					</div>
					</div>
					<div id="weizhi">
						<div class="c3">
								<h2>浏览更多</h2>
								<p>不懂如何送礼让你头疼</p>
								<p>这里有一只锦囊！</p>
							</div>
						</div>
						
						<!--热评产品-->
			<div class="rpcp">
				<c:forEach items="${louceng }" var="lou">
				<c:if test="${lou.l_id==4 }">
					<div class="cp">
					<span>${lou.l_name }</span>
					<span></span>
					<span>评价，你的好茶 </span>
				</div>
					<c:forEach items="${ sp }" var="s">				
				<c:if test="${ s.l_id==4}">
						<div class="dt">
						<dl>
							<dt><img src="${s.s_pic }"/></dt>
							<dd>${s.sname }</dd>
							<dd>${s.jieshao }</dd>
							<dd>
							<span>千道湾 安吉白茶 90g</span>
							<span>|</span>
							<span>￥${s.prices }</span>
							</dd>
						</dl>
					</div>
				</c:if>							
				</c:forEach>
				</c:if>
				</c:forEach>
						
						</div>
				<!--醉品头条-->
			<div class="zptp">
			
			<c:forEach items="${louceng }" var="lou">
				<c:if test="${lou.l_id==5 }">
				
				<div class="zp">
					<span>${lou.l_name }</span>
					<span></span>
					<span>评价，你的好茶 </span>
				</div>
					<c:forEach items="${ sp }" var="s">				
				<c:if test="${ s.l_id==5}">
						<div class="jt">
						<dl>
							<dt><img src="${s.s_pic }"width="296px" height="160px"/></dt>
							<dd>${s.sname }</dd>
							<dd>${s.jieshao }</dd>					
						</dl>
					</div>
				</c:if>							
				</c:forEach>	
				</c:if>
				
				</c:forEach>
					
			</div>
			
				
					<div class="nei1">
					<c:forEach items="${louceng }" var="lou">
				<c:if test="${lou.l_id==6 }">
					<p>${lou.l_name }</p>
						<c:forEach items="${ sp }" var="s">
					<div class="zi2">
				<c:if test="${ s.l_id==6 }">
			
				
						<dl>
							<dt><img src="${s.s_pic }"/></dt>
							<dd>
								<span class="hei">${s.sname } <br />
								</span><br />
								<span class="huise">${s.jieshao }</span><br />
								<span class="hong">￥${s.prices }</span>
							</dd>
						</dl>
				</c:if>
				</div>
				
				</c:forEach>
				</c:if>
				</c:forEach>
				
					
				
					

					</div>
						
						
						
				</div>
				
					<!--页尾-->
		<div class="yewei">
			<iframe src="YeWei.jsp" width="1530"height="410px" scrolling="no" frameborder="0"></iframe>
			
		</div>
		<div class="dingwei">
			<ul>
				<li>
					客服
					<div>
					<img src="img/首页/客服隐藏.png" width="130px"/>
						
					</div>
				</li>
				<li>热线
				<div>
					<img src="img/首页/热线隐藏.png" width="130px"/>
				</div>
				</li>
				<li>服务号
				<div>
					<img src="img/页头/二维码.png" width="130px"/>
				</div>
				</li>
				<a href="#"><li>顶部</li></a>
			</ul>
		</div>
					
					
					
					
					
					
				
</body>
</html>